package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/7/12
 * @Description：报名实体类
 */
@Entity(value = "SundayApply",noClassnameStored = true)
public class SundayApply extends BaseMongoEntity{
    private Long memberId;//用户id
    private Long activityId;//活动id
    private String name;//用户姓名
    private String mobile;//用户手机号
    private String weChat;//用户微信
    private Integer num;//报名人数
    private String activityName;//活动名称
    private Integer isProcessed;//是否已经处理
    public SundayApply(){}
    public SundayApply(Long memberId,String name,String mobile,String weChat,Integer num,Long activityId,Integer isProcessed){
        this.name=name;
        this.memberId=memberId;
        this.mobile=mobile;
        this.weChat=weChat;
        this.num=num;
        this.activityId=activityId;
        this.isProcessed=isProcessed;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Integer getIsProcessed() {
        return isProcessed;
    }

    public void setIsProcessed(Integer isProcessed) {
        this.isProcessed = isProcessed;
    }
}
